﻿@{
}

@model Lihong.Cms.Entity.User

<!DOCTYPE html>
<html>
<head>
    <title>个人中心</title>
    <link href="/libs/bootstrap-4.6.2/css/bootstrap.css" rel="stylesheet" />
    <script type="text/javascript" src="/libs/bootstrap-4.6.2/js/bootstrap.js"></script>
</head>
<body>
    <div class="container">
        <div class="row">

            <div class="card">
                <div class="card-header">
                    个人中心
                </div>

                <div class="card-body">

                    <form method="post" action="/user/save">
                        <div class="form-group row">
                            <label for="nickName" class="col-4 col-form-label">昵称：</label>
                            <div class="col-8">
                                <input class="form-control" id="nickName" name="nickName" type="text" value="@Model.NickName" />
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="userName" class="col-4 col-form-label">用户名：</label>
                            <div class="col-8">
                                <input class="form-control" id="userName" name="userName" type="text" value="@Model.UserName" />
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="phone" class="col-4 col-form-label">电话：</label>
                            <div class="col-8">
                                <input class="form-control" id="phone" name="phone" type="text" value="@Model.Phone" />
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="email" class="col-4 col-form-label">邮箱：</label>
                            <div class="col-8">
                                <input class="form-control" id="email" name="email" type="text" value="@Model.Email" />
                            </div>
                        </div>
                        <input type="hidden" name="id" value="@Model.Id" />
                        <button class="btn btn-primary" type="submit">保存</button>
                    </form>
                </div>
            </div>
        </div>

    </div>
</body>
</html>